home *** CD-ROM | disk | FTP | other *** search
/ Backpacker 2 (Sweden) / BackPacker 2 (Sweden) (Disc 1).7z / BackPacker 2 (Sweden) (Disc 1).bin / pc / instdata / install.dxr / Internal_421.ls < prev    next >
Encoding:
Text File  |  1997-01-01  |  5.5 KB  |  157 lines

  1. on MakeFileList package
  2.   global gFileList, gSrcPathList, gDestPathList, gDestPath, gPlatformChosen, gInternet, gDEngineP, gPrefpath
  3.   set gFileList to []
  4.   set gSrcPathList to []
  5.   set gDestPathList to []
  6.   if the machineType = 256 then
  7.     set plattfall to gPlatformChosen
  8.   else
  9.     set plattfall to the platform
  10.   end if
  11.   case plattfall of
  12.     "Macintosh,68k":
  13.       append(gFileList, "INST0001")
  14.       append(gFileList, "INST0002")
  15.       append(gSrcPathList, the pathName)
  16.       append(gSrcPathList, the pathName)
  17.       append(gDestPathList, gDestPath & "BackPacker 2:")
  18.       append(gDestPathList, gDestPath & "BackPacker 2:")
  19.       append(gFileList, "INST0005")
  20.       append(gSrcPathList, the pathName)
  21.       append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:")
  22.       repeat with n = 17 to 28
  23.         append(gFileList, "INST00" & n)
  24.         append(gSrcPathList, the pathName)
  25.         append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:")
  26.       end repeat
  27.       case package of
  28.         1:
  29.         2:
  30.         3:
  31.       end case
  32.       if gInternet then
  33.         append(gFileList, "INSTIN01")
  34.         append(gSrcPathList, the pathName)
  35.         append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:")
  36.         repeat with n = 2 to 9
  37.           append(gFileList, "INSTIN0" & n)
  38.           append(gSrcPathList, the pathName)
  39.           append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:I_DATA01:")
  40.         end repeat
  41.         append(gFileList, "INSTIN10")
  42.         append(gSrcPathList, the pathName)
  43.         append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:I_DATA01:.hotjava:")
  44.         append(gFileList, "INSTIN21")
  45.         append(gSrcPathList, the pathName)
  46.         append(gDestPathList, gPrefpath)
  47.         append(gFileList, "INSTIN22")
  48.         append(gSrcPathList, the pathName)
  49.         append(gDestPathList, gPrefpath)
  50.       end if
  51.     "Macintosh,PowerPC":
  52.       append(gFileList, "INST0003")
  53.       append(gFileList, "INST0004")
  54.       append(gSrcPathList, the pathName)
  55.       append(gSrcPathList, the pathName)
  56.       append(gDestPathList, gDestPath & "BackPacker 2:")
  57.       append(gDestPathList, gDestPath & "BackPacker 2:")
  58.       append(gFileList, "INST0005")
  59.       append(gSrcPathList, the pathName)
  60.       append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:")
  61.       repeat with n = 17 to 28
  62.         append(gFileList, "INST00" & n)
  63.         append(gSrcPathList, the pathName)
  64.         append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:")
  65.       end repeat
  66.       case package of
  67.         1:
  68.         2:
  69.         3:
  70.       end case
  71.       if gInternet then
  72.         append(gFileList, "INSTIN01")
  73.         append(gSrcPathList, the pathName)
  74.         append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:")
  75.         repeat with n = 2 to 9
  76.           append(gFileList, "INSTIN0" & n)
  77.           append(gSrcPathList, the pathName)
  78.           append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:I_DATA01:")
  79.         end repeat
  80.         append(gFileList, "INSTIN10")
  81.         append(gSrcPathList, the pathName)
  82.         append(gDestPathList, gDestPath & "BackPacker 2:BP_RSRC:I_DATA01:.hotjava:")
  83.         append(gFileList, "INSTIN21")
  84.         append(gSrcPathList, the pathName)
  85.         append(gDestPathList, gPrefpath)
  86.         append(gFileList, "INSTIN22")
  87.         append(gSrcPathList, the pathName)
  88.         append(gDestPathList, gPrefpath)
  89.       end if
  90.     "Windows,16":
  91.       append(gFileList, "INST0006")
  92.       append(gFileList, "INST0007")
  93.       append(gFileList, "INST0010")
  94.       append(gSrcPathList, the pathName)
  95.       append(gSrcPathList, the pathName)
  96.       append(gSrcPathList, the pathName)
  97.       append(gDestPathList, gDestPath)
  98.       append(gDestPathList, gDestPath)
  99.       append(gDestPathList, gDestPath)
  100.       append(gFileList, "INST0028")
  101.       append(gSrcPathList, the pathName)
  102.       append(gDestPathList, gDestPath & "BP_RSRC\")
  103.       repeat with n = 11 to 26
  104.         append(gFileList, "INST00" & n)
  105.         append(gSrcPathList, the pathName)
  106.         append(gDestPathList, gDestPath & "BP_RSRC\")
  107.       end repeat
  108.       case package of
  109.         1:
  110.         2:
  111.         3:
  112.       end case
  113.     "Windows,32":
  114.       append(gFileList, "INST0008")
  115.       append(gFileList, "INST0009")
  116.       append(gFileList, "INST0010")
  117.       append(gSrcPathList, the pathName)
  118.       append(gSrcPathList, the pathName)
  119.       append(gSrcPathList, the pathName)
  120.       append(gDestPathList, gDestPath)
  121.       append(gDestPathList, gDestPath)
  122.       append(gDestPathList, gDestPath)
  123.       append(gFileList, "INST0028")
  124.       append(gSrcPathList, the pathName)
  125.       append(gDestPathList, gDestPath & "BP_RSRC\")
  126.       repeat with n = 11 to 26
  127.         append(gFileList, "INST00" & n)
  128.         append(gSrcPathList, the pathName)
  129.         append(gDestPathList, gDestPath & "BP_RSRC\")
  130.       end repeat
  131.       case package of
  132.         1:
  133.         2:
  134.         3:
  135.       end case
  136.       if gInternet then
  137.         append(gFileList, "INSTIN01")
  138.         append(gSrcPathList, the pathName)
  139.         append(gDestPathList, gDestPath & "BP_RSRC\")
  140.         repeat with n = 2 to 7
  141.           append(gFileList, "INSTIN0" & n)
  142.           append(gSrcPathList, the pathName)
  143.           append(gDestPathList, gDestPath & "BP_RSRC\I_DATA01\")
  144.         end repeat
  145.         append(gFileList, "INSTIN11")
  146.         append(gSrcPathList, the pathName)
  147.         append(gDestPathList, gDestPath & "BP_RSRC\I_DATA01\")
  148.         set gDEngineP to count(gDestPathList)
  149.         repeat with n = 12 to 20
  150.           append(gFileList, "INSTIN" & n)
  151.           append(gSrcPathList, the pathName)
  152.           append(gDestPathList, gDestPath & "BP_RSRC\I_DATA01\")
  153.         end repeat
  154.       end if
  155.   end case
  156. end
  157.